<?php
declare (strict_types = 1);

namespace app\admin\subscribe;

use app\admin\event\UpdateServerEvent;
use think\Event;

class updateServerSubscribe
{
    //绑定订阅事件函数
    public function subscribe(Event $event)
    {
        $event->listen('update_server', [UpdateServerEvent::class,'updateServer']);
    }
}
